﻿jQuery(function () {
    jQuery("#saveSeries").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Series"
    });
    jQuery("#savecolor").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Color"
    });
    jQuery("#motherBoard").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Mother Board"
    });
    jQuery("#saveOperatingSystem").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the OS"
    });
    jQuery("#saveprocessor").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Processor"
    });
    jQuery("#saveGrapicsCard").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Graphics Card"
    });
    jQuery("#saveRAM").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Ram Details"
    });
    jQuery("#saveScreenResolution").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Resolution"
    });
    jQuery("#saveScreenType").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Screen Type"
    });
    jQuery("#saveHardDrive").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Hard drive details"
    });
    jQuery("#saveScreenSize").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Screen Size"
    });
    jQuery("#saveMemoryCardReader").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Memory card reader details"
    });
    jQuery("#saveOpticalDiskDrive").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Optical Disk drive details"
    });
    jQuery("#saveUSB").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the USB Details"
    });
    jQuery("#saveWiFi").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Wifi Details"
    });
    jQuery("#saveModemEthernet0").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Ethernet card details"
    });
    jQuery("#saveAudioInterface").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Audio Details"
    });
    jQuery("#saveBluetooth").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Bluetooth Details"
    });
    jQuery("#saveExpansonCardSlot").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Card Slot Details"
    });
    jQuery("#saveTVoutput").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the TV Output Details"
    });
    jQuery("#saveWebcam").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Webcam Details"
    });
    jQuery("#saveSound").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Sound Details"
    });
    jQuery("#saveBattery").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Battery Details"
    });
    jQuery("#saveKeyboardMouse").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Keyboard and Mouse Details"
    });
    jQuery("#saveSoftwareIncluded").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Software Details"
    });
    jQuery("#saveAccessoriesIncluded").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Accessories Details"
    });
    jQuery("#savePrice").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Price Details"
    });
    jQuery("#saveDiscount").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Discount Details"
    });
});